package org.learn.test;

public class Object02 {
    public static void main(String[] args) {
      class Person{
          String name;
          int age;
      }
      Person p1 =new Person();
      p1.name = "小狗";
      p1.age = 15;
      Person p2 = p1;
      System.out.println(p2.age);
    }
}
